/**
 * 
 */
package com.curso.sesion8;

/**
 * @author MATEUS
 *
 */
public class Hija extends Padre {

	/**
	 * 
	 */
	public Hija() {
		System.out.println("constructor del hijo");
	}
	
	public void testEx() throws LBException1 {
        throw new LBException1();        
    }
	
	public int giveMyNumber (Integer number, Integer number2) throws LBException{
		return number*number2;
	}
	
	public int giveMyNumber (int number, int number2){
		return number*number2;
	}
	
	public int giveMyNumber (Integer number, Long number2){
		return number*number2.intValue();
	}
	
	public int giveMyNumber (Long number2, Integer number){
		return number*number2.intValue();
	}
	
	public Long giveMyNumber (Integer number, Long number2, boolean b){
		return (Long)(number*number2);
	}
	
	public int giveMyNumber (Integer number, Integer number2, Integer number3){
		return number*number2*number3;
	}

}
